package com.example.easypoi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @description:
 * @author: 朱超
 * @createDate: 2023/3/28
 * @version: 1.0
 * @remark：备注
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cd_maintain")
public class Maintain implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "maintain_id", type = IdType.AUTO)
    private Long maintainId;

    @TableField("enterprise_name")
    private String enterpriseName;

    @TableField("legal_person")
    private String legalPerson;

    @TableField("phone")
    private String phone;

    @TableField("address")
    private String address;

    @TableField("individual")
    private String individual;

    @ApiModelProperty("市")
    @TableField("city")
    private String city;

    @ApiModelProperty("区")
    @TableField("district")
    private String district;
}
